def run (x):
    if x %4==0 and x %100 !=0 or x%400==0:
        return True
    else:
        return False
r=int(input("请输入一个年份X="))
print(run(r))
